package com.pencilisland.pay.api.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.pencilisland.pay.api.entity.UserAddressEntity;

public interface UserAddressRepository extends CrudRepository<UserAddressEntity, Long> {

	UserAddressEntity findByOpenIdAndMd5(String openId, String md5);

	List<UserAddressEntity> findByOpenIdOrderByCreateTimeDesc(String openId);

}
